pp108 : Extension Class

Extension Class

This topic describes an Extension class.


An Extension class is generated by WS-AppServer and works as a supplement to the Base class (extends from the Base class). Similar to the Base class, an extension class maps to the corresponding database table. If you want to add any business logic to the generated class, you may include it in the Extension class. For example, you may use the Extension class to implement logic pertaining to event listeners.

The Extension classes for Standard classes are different from the Extension classes for the Custom classes. The Extension class for a Standard class contains only the BusObject construct. Whereas, the Extension Class for the Custom class contains the BusObject construct as well as the three basic methods, onInsert , onUpdate , and onDelete .

Related tasks

Generating the Java Code for WS-AppServer Models